package com.company;

public class test {
    public static void main(String[] args){
      Inter3 in=new Inter4();
      in.delete();
      in.savd();
      Inter5 i=new Inter5();
      i.delete();
      i.savd();
    }

}
interface Inter1{
void  savd();
}
interface Inter2{
    void delete();
}
interface Inter3 extends Inter1,Inter2{}
class Inter4 implements Inter3{
    @Override
    public void savd(){System.out.println("savd");}
    @Override
    public void delete(){System.out.println("delete");}
}

class Inter5 implements Inter1,Inter2{
    @Override
    public void savd(){System.out.println("savd");}
    @Override
    public void delete(){System.out.println("delete");}
}